package gazzera.gui.messages;

import gazzera.gui.*;
import gazzera.utils.*;

public class DownloadUpdate extends GuiMessage
{
	public int id;
	public FileID fileId;
    public String name;
    public long size;
    public long downloaded;
    public int speed;
    
	public DownloadUpdate(int id, FileID fileId, String name, long size, long downloaded, int speed)
	{
		super();
		this.id = id;
		this.fileId = fileId;
		this.name = name;
		this.size = size;
		this.downloaded = downloaded;
		this.speed = speed;
	}

	@Override
	public String toString()
	{
		return "DOWNLOAD: "+id+" "+fileId+" "+name+" "+size+" "+downloaded+" "+speed;
	}
    
	
    
}
